home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Communication
/
NewsBase
/
Source
/
common.subproj
/
IKeyedObject.m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-01-12
|
333 b
|
25 lines
#import "IKeyedObject.h"
#import <objc/hashtable.h>
@implementation IKeyedObject
- initWithKey:(const char *)aKey
{
[super init];
key = NXCopyStringBufferFromZone(aKey, [self zone]);
return(self);
}
- (const char *)key
{
return(key);
}
- free
{
NXZoneFree([self zone], key);
return([super free]);
}
@end